<%@ page import="ar.org.sstuyv.familiaPropietaria.Censos" %>



<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'CUIL', 'error')} ">
	<label for="CUIL">
		<g:message code="censos.CUIL.label" default="CUIL" />
		
	</label>
	<g:textField name="CUIL" value="${censosInstance?.CUIL}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'esMenor', 'error')} ">
	<label for="esMenor">
		<g:message code="censos.esMenor.label" default="Es Menor" />
		
	</label>
	<g:checkBox name="esMenor" value="${censosInstance?.esMenor}" />
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'estadoCivil', 'error')} required">
	<label for="estadoCivil">
		<g:message code="censos.estadoCivil.label" default="Estado Civil" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="estadoCivil" name="estadoCivil.id" from="${ar.org.sstuyv.EstadoCivil.list()}" optionKey="id" required="" value="${censosInstance?.estadoCivil?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'expediente', 'error')} required">
	<label for="expediente">
		<g:message code="censos.expediente.label" default="Expediente" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="expediente" name="expediente.id" from="${ar.org.sstuyv.Expediente.list()}" optionKey="id" required="" value="${censosInstance?.expediente?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'nombre', 'error')} ">
	<label for="nombre">
		<g:message code="censos.nombre.label" default="Nombre" />
		
	</label>
	<g:textField name="nombre" value="${censosInstance?.nombre}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'partido', 'error')} required">
	<label for="partido">
		<g:message code="censos.partido.label" default="Partido" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="partido" name="partido.id" from="${ar.org.sstuyv.Partido.list()}" optionKey="id" required="" value="${censosInstance?.partido?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: censosInstance, field: 'plan', 'error')} required">
	<label for="plan">
		<g:message code="censos.plan.label" default="Plan" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="plan" name="plan.id" from="${ar.org.sstuyv.familiaPropietaria.PlanSocial.list()}" optionKey="id" required="" value="${censosInstance?.plan?.id}" class="many-to-one"/>
</div>

